package org.example.pojo.Request;


import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

/**
 * 运行提交实体类
 */
@Data
@NoArgsConstructor
public class RunCodeEntity<k,v> extends CodeEntity {

    @JsonProperty("caseStdin")
    private List<List<String>> caseStdin;
    public RunCodeEntity(Integer SubmissionID, String problemID, String sourceCode, String language,List<List<String>> caseStdin) {
        super(SubmissionID, problemID, sourceCode, language);
        this.caseStdin = caseStdin;
    }
    public RunCodeEntity(List<List<String>> caseStdin) {
        this.caseStdin = caseStdin;
    }

    public List<List<String>> getCaseStdin() {
        return caseStdin;
    }

    public void setCaseStdin(List<List<String>> caseStdin) {
        this.caseStdin = caseStdin;
    }
}
